function shuffle(){
const img = document.getElementById("img");
let random = Math.floor(Math.random() * 6) + 1;
img.setAttribute("src", `assets/${random}.png`);
}
function anim(){
setTimeout(shuffle, 500);
const img = document.getElementById("img");
img.setAttribute("src", "assets/dice-roll.gif");
}